import random
def niceday(name):
    a = random.randint(1, 5)
    if a == 1:
        return "今天是要好好去练习代码的一天！！！"
    elif a == 2:
        return "今天适合锻炼，跑步"
    elif a == 3:
        return "今天当个废物吧！"
    elif a == 4:
        return "今天是适合谈恋爱的日子"
    else:
        return "今天适合大吃一顿然后去敲代码"


# def geocode(address):
#     """获取高德api的地理编码信息"""
#     url= "https://restapi.amap.com/v3/geocode/geo?parameters"
#     params = {
#
#         "address":address,
#
#     }
#     response = requests.get(url,params=params)
#     return response.json()['geocodes'][0]['location']